<ul class="tab-bar bgc">
  <li>
    <a href="/">
      <img src="/static/index/img/index{if [select] == 1}-active{/if}.png" alt=""/>
      <p class="{if [select] == 1}active{/if}">首页</p>
    </a>
  </li>

  <li>
    <a href="{:url('classify/index')}">
      <img src="/static/index/img/cate{if [select] == 5}-active{/if}.png" alt=""/>
      <p class="{if [select] == 5}active{/if}">分类</p>
    </a>
  </li>

  <li>
    <a href="{:url('cart/index')}">
      <img src="/static/index/img/cart{if [select] == 3}-active{/if}.png" alt=""/>
      <p class="{if [select] == 3}active{/if}">购物车</p>
    </a>
  </li>
  <!--<li>
    <a href="{:url('merchant/merchants')}">
      <img src="/static/index/img/buy{if [select] == 2}-active{/if}.png" alt=""/>
      <p class="{if [select] == 2}active{/if}">商家</p>
    </a>
  </li>-->
  <li>
    <a href="{:url('user/index')}">
      <img src="/static/index/img/profile{if [select] == 4}-active{/if}.png" alt=""/>
      <p class="{if [select] == 4}active{/if}">我的</p>
    </a>
  </li>
</ul>